package com.manlu.controller;

import com.manlu.service.InterviewQuestionsService;
import com.manlu.vo.BaseResult;
import com.manlu.vo.InterviewPageInfoVo;
import com.sun.org.apache.regexp.internal.RE;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * @Auther 漫路h
 * Created by 2020-05-05 20:36
 */
@RestController
@RequestMapping("/interviewquestions")
public class InterviewQuestionsController {
    @Resource
    private InterviewQuestionsService interviewQuestionsService;

    /**
     * 查询面试题列表(分页+条件)
     * @param interviewPageInfoVo
     * @return
     */
    @PostMapping
    public BaseResult selectAllByPageInfo(@RequestBody InterviewPageInfoVo interviewPageInfoVo){
        return interviewQuestionsService.selectAllByPageInfo(interviewPageInfoVo);
    }
}
